/**
 * 
 */
package com.airlines.base.service.dict.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.airlines.base.dao.dict.DictionaryItemMapper;
import com.airlines.base.entity.dict.DictionaryItem;
import com.airlines.base.service.base.impl.BaseServiceImpl;
import com.airlines.base.service.dict.DictionaryItemService;



/**
 * @author xxxx
 * @date 2017年3月6日
 * @company xxxx Airlines
 * @description 字典明细服务
 */
@Service
public class DictionaryItemServiceImpl extends BaseServiceImpl<DictionaryItem,Integer> implements DictionaryItemService {
	@Autowired
	private DictionaryItemMapper dictionaryItemMapper;
	
	@Autowired
	public void setBaseMapper() {
		super.setBaseMapper(dictionaryItemMapper);
	}

	@Override
	public void updateCancelAllDefalutItem(Integer dictionaryId) {
		dictionaryItemMapper.updateCancelAllDefalutItem(dictionaryId);
	}

}
